﻿namespace FileCommon.Models;

[Serializable]
public class UploadFileInfo
{
    public string FileName { get; set; }

    public long FileLength { get; set; }

    public long StartPos { get; set; }

    
    public byte[] Bytes { get; set; }

    public int Count { get; set; }

    public bool Complete { get; set; }

    public OperationType OperationType { get; set; }

    public string ErrorMessage { get; set; }

    public bool Success { get; set; } = true;
    
    public string MD5Hash { get; set; }
    
    public string FileId { get; set; }
}